package com.tony.easymvc.mapper;

import com.tony.easymvc.po.DbInfo;
import com.tony.easymvc.po.DbInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DbInfoMapper {
    long countByExample(DbInfoExample example);

    int deleteByExample(DbInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DbInfo record);

    int insertSelective(DbInfo record);

    List<DbInfo> selectByExample(DbInfoExample example);

    DbInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DbInfo record, @Param("example") DbInfoExample example);

    int updateByExample(@Param("record") DbInfo record, @Param("example") DbInfoExample example);

    int updateByPrimaryKeySelective(DbInfo record);

    int updateByPrimaryKey(DbInfo record);

	List<DbInfo> selectLibrary(Integer id);
}